package cn.net.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class PageController {

    private static final Logger logger = LogManager.getLogger(PageController.class);

    @GetMapping("/")
    public String getIndexPage(){
        logger.error("访问了首页");
        return "/static/page/FileManager.html";
    }
}
